package cn.yuxiaoyuan.base.mapper;

import cn.yuxiaoyuan.article.domain.ArticleType;
import cn.yuxiaoyuan.article.query.ArticleTypeQuery;
import cn.yuxiaoyuan.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {
    T findById(Long id);

    List<T> findAll();

    void add(T t);

    void update(T t);

    void deleteById(Long id);

    void batchDelete(List<Long> ids);


}
